<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <script type="tetext/javascript" src="../../../../js/ckeditor/ckeditor.js"></script>
</head>
    <body>
<b><?php echo $this->lang->line('Tạo dự án mới'); ?></b>
<br/>
<form id="index" method="post" action="<?php echo site_url("projects/create")?>" enctype="multipart/form-data">
    <table>
        <tr>
            <td><?php echo $this->lang->line('Tên dự án'); ?></td>
            <td><input type="text" id="name" name="name" value=""/></td>
        </tr>
        <tr>
            <td><?php echo $this->lang->line('Mô tả'); ?></td>
            <td><textarea class="ckeditor" name="description" id="description" ></textarea></td>
        </tr>
        <tr>
            <td><?php echo $this->lang->line('Ngày bắt đầu'); ?></td>
            <td><input type="text" id="start_date" name="start_date" value="" readonly/></td>
        </tr>
        <tr>
            <td><?php echo $this->lang->line('Ngày kết thúc'); ?></td>
            <td><input type="text" id="start_date" name="start_date" value="" readonly/></td>
        </tr>
        <tr>
            <td><?php echo $this->lang->line('Tổng giá trị'); ?></td>
            <td><input type="text" id="start_date" name="start_date" value="" /></td>
        </tr>
        <tr>
            <td><?php echo $this->lang->line('Tình trạng'); ?></td>
            <td>
                <select>
                    <option value="0"><?php echo $this->lang->line('Đang triển khai');?></option>
                    <option value="1"><?php echo $this->lang->line('Đã triển khai');?></option>
                    <option value="2"><?php echo $this->lang->line('Chưa triển khai');?></option>
                    <option value="3"><?php echo $this->lang->line('Dự án treo');?></option>
                </select>
            </td>
        </tr>
        <tr>
            <td><?php echo $this->lang->line('Hình ảnh'); ?></td>
            <td><input type="file" id="image" name="image" /></td>
        </tr>
        <tr>
            <td><?php echo $this->lang->line('Thuộc mảng dịch vụ'); ?></td>
            <td>
                <select name="service_types_id" id="service_types_id">
                    <?php foreach($serviceTypes as $item){ ?>
                        <option value="<?php echo $item->id;?>"><?php if ($langType=='vn') echo $item->name_vn; else echo $item->name_en;?></option>
                    <?php } ?>
                </select>
            </td>
        </tr>
        <tr>
            <td><?php echo $this->lang->line('Chủ dự án'); ?></td>
            <td>
                <select id="customers_id" name="customers_id">
                    <?php foreach($customers as $item){ ?>
                        <option value="<?php echo $item->id;?>"><?php if ($langType=='vn') echo $item->name_vn; else echo $item->name_en;?></option>
                    <?php } ?>
                </select>
            </td>
        </tr>
    </table>
    <input type="submit" id="btnSubmit" value="Submit"/>
</form>
    </body>
</html>